package losrebellos.tracking{	import losrebellos.javascript.Javascript;	import flash.errors.IllegalOperationError;	//-----//	//----- @author los rebellos -----//	public class GoogleAnalytics implements ITracking	{		/*		 * 		 * CONSTRUCTOR		 * 		 */		public function GoogleAnalytics(singleton:SingletonEnforcer)		{			super();						if(!singleton)				throw new IllegalOperationError(">>>>> GoogleAnalytics class is a singleton");		}				/*		 * 		 * SINGLETON		 * 		 */		private static var _instance:GoogleAnalytics = null;		public static function get instance():GoogleAnalytics		{			if(!_instance)				_instance = new GoogleAnalytics(new SingletonEnforcer);						return _instance;		}						/*		 * 		 * TRACK		 * 		 */		public function track(o:Object):Boolean		{			return Javascript.call("urchinTracker",o);		}	}}class SingletonEnforcer {}